package com.aidong.login.dao;

import org.apache.ibatis.annotations.Param;

import com.aidong.login.entity.MemberIntegral;
import com.aidong.login.entity.MemberWithdraw;

public interface MemberIntegralDao {
	public MemberIntegral getIntegral(@Param("idongId") int idongId);

	public void increase(@Param("idongId") int idongId, @Param("amount") int amount);

	public void reduce(@Param("idongId") int idongId, @Param("amount") int amount);

	public void withdraw(MemberWithdraw memberWithdraw);
}
